package com.cnpc.iot.scgl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;

@Entity
@Table(name = "tbl_pnode")
public class Pnode extends BaseEntity{

	@Header(name="流程名称")
	@Column(name="name")
	private String name;
	
	@Header(name="流程编码")
	@Column(name="code")
	private String code;
	
	@Header(name="排序字段")
	@Column(name="order_id")
	private Integer orderId;
	
	@Header(name="表达式")
	@Column(name="cron")
	private String cron;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}
	
}
